A tight analysis of the Katriel-Bodlaender algorithm for online topological ordering

نویسندگان

  • Hsiao-Fei Liu
  • Kun-Mao Chao
چکیده

Katriel and Bodlaender [7] modify the algorithm proposed by Alpern et al. [2] for maintaining the topological order of the n nodes of a directed acyclic graph while inserting m edges and prove that their algorithm runs in O(min{m3/2 log n,m + n log n}) time and has an Ω(m) lower bound. In this paper, we give a tight analysis of their algorithm by showing that it runs in time Θ(m + mn log n). General Terms: Algorithms Additional

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An O(n2.75) Algorithm for Online Topological Ordering

We present a simple algorithm which maintains the topological order of a directed acyclic graph with n nodes under an online edge insertion sequence in O(n) time, independent of the number of edges m inserted. For dense DAGs, this is an improvement over the previous best result of O(min{m 2 log n,m 3 2 + n log n}) by Katriel and Bodlaender. We also provide an empirical comparison of our algorit...

متن کامل

An O(n) algorithm for online topological ordering?

We present a simple algorithm which maintains the topological order of a directed acyclic graph with n nodes under an online edge insertion sequence in O(n2.75) time, independent of the number of edges m inserted. For dense DAGs, this is an improvement over the previous best result of O(min{m 3 2 log n,m 32 + n log n}) by Katriel and Bodlaender. We also provide an empirical comparison of our al...

متن کامل

eb 2 00 8 Average - Case Analysis of Online Topological Ordering ∗

Many applications like pointer analysis and incremental compilation require maintaining a topological ordering of the nodes of a directed acyclic graph (DAG) under dynamic updates. All known algorithms for this problem are either only analyzed for worst-case insertion sequences or only evaluated experimentally on random DAGs. We present the first average-case analysis of online topological orde...

متن کامل

An O(n) algorithm for incremental topological ordering

We present a simple algorithm which maintains the topological order of a directed acyclic graph with n nodes under an online edge insertion sequence in O(n) time, independent of the number m of edges inserted. For dense DAGs, this is an improvement over the previous best result of O(min{m 3 2 logn, m 3 2 + n logn}) by Katriel and Bodlaender. We also provide an empirical comparison of our algori...

متن کامل

Average-case analysis of incremental topological ordering

Many applications like pointer analysis and incremental compilation require maintaining a topological ordering of the nodes of a directed acyclic graph (DAG) under dynamic updates. All known algorithms for this problem are either only analyzed for worst-case insertion sequences or only evaluated experimentally on random DAGs. We present the first averagecase analysis of incremental topological ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 389  شماره 

صفحات  -

تاریخ انتشار 2007